<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<title>My JSP 'add.jsp' starting page</title>
<link href="<%=basePath%>manager/css/style.css" rel="stylesheet"
	type="text/css" />
<script type="text/javascript"
	src="<%=basePath%>common/js/jQuery-1.9.1.js"></script>
<script type="text/javascript"
	src="<%=basePath%>manager/js/jQuery.validate.js"></script>
<script type="text/javascript"
	src="<%=basePath%>common/js/jquery_validate/jQuery.message_cn.js"></script>
<script type="text/javascript"
	src="<%=basePath%>common/js/jquery_validate/jQuery.metadate.js"></script>
	<script type="text/javascript"
	src="<%=basePath%>common/js/jquery_validate/jQuery.extension.js"></script>
<script type="text/javascript"
	src="<%=basePath%>manager/js/roleTab/update.js"></script>
<style type="text/css">
#addForm i.error {
	color: Red;
	border-width: 0px;
}
</style>

</head>

<body>
	<div class="place">
		<span>位置：</span>
		<ul class="placeul">
			<li><a href="javascript:void(0)">首页</a></li>
			<li><a>角色管理</a></li>
			<li><a>修改角色</a></li>
		</ul>
	</div>

	<div class="formbody">

		<div class="formtitle">
			<span>角色菜单信息</span>
		</div>

		<form action="../manager_roletab/update" id="addForm" method="post">
			<input type="hidden" id="rtId" name="rtId" value="${roleTab.rtId}"/>
			<ul class="forminfo">
				<li><label >菜单名</label> 
					<strong style="color: red">必填&nbsp;</strong>
					<input id="rtName" name="rtName" type="text" class="dfinput" value="${roleTab.rtName}" /><i></i>
				</li>
				<li><label>是否生效</label> <cite> 
					<strong style="color: red">必填&nbsp;</strong>
					<input name="rtStatus" type="radio" value="0" ${roleTab.rtStatus == 0? 'checked=checked':''} />是
					&nbsp;&nbsp;&nbsp;&nbsp;
					<input name="rtStatus" type="radio" value="1" ${roleTab.rtStatus == 1? 'checked=checked':''} />否</cite>
				</li>
				<li><label>备注</label> 
					<textarea id="remark" name="remark" class="textinput">${roleTab.remark}</textarea><i></i>
				</li>
				<li><label>&nbsp;</label> 
					<input type="submit" class="btn" value="确认修改" />
				</li>
			</ul>
		</form>
	</div>
</body>
</html>
